package com.lzh.persevere.model.ro.user;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class RegisterEmailRO {

    @NotEmpty(message = "邮箱不能为空")
    private String email;
    @NotEmpty(message = "用户名不能为空")
    private String userName;
    @NotEmpty(message = "昵称不能为空")
    private String nickName;
    @NotEmpty(message = "密码不能为空")
    private String password;
    @NotEmpty(message = "确认密码不能为空")
    private String confirmPassword;
}
